package com.richinfo.proxy.demo;

import com.richinfo.proxy.demo.impl.ProxySubject;
import com.richinfo.proxy.demo.impl.RealSubject;

/**
 * 调用代理对象的方法
 * 
 * Created by WangXJ
 * 2019-07-04 11:08
 */
public class Client {

	public static void main(String[] args) {
		Subject subject = new ProxySubject(new RealSubject());
		subject.request();
	}

}
